import React, { useEffect } from 'react';
import moment from "moment"
import "./index.less"
const Today = (props) => {
  const { today, num } = props
  return (
    <div className="today">
      今日天气 {today ? today : "晴"} 最高温度： {num ? num : "32"}摄氏度
    </div>
  );
};

export default Today